+2001-10-28 Gerd Moellmann <gerd@gnu.org>
+
+ * xfns.c (x_build_heuristic_mask): Fix a bug not incrementing
+ a loop counter.
+
2001-10-28 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
* emacs.c: Use argv[0] instead of emacs when -t was specified.
if (CONSP (how))
{
- int rgb[3], i = 0;
+ int rgb[3], i;
- while (i < 3
- && CONSP (how)
- && NATNUMP (XCAR (how)))
+ for (i = 0; i < 3 && CONSP (how) && NATNUMP (XCAR (how)); ++i)
{
rgb[i] = XFASTINT (XCAR (how)) & 0xffff;
how = XCDR (how);